import React, { Component } from 'react'
import { View } from 'react-native'
import AppNavigation from '../Navigation/AppNavigation'
import { Provider } from '@ant-design/react-native'
import customTheme from '../Themes/customTheme'

class RootContainer extends Component {
  render() {
    return (
      <Provider theme={customTheme}>
        <View style={{ flex: 1 }}>
          <AppNavigation />
        </View>
      </Provider>
    )
  }
}
export default RootContainer